cmake_minimum_required(VERSION 3.28)
project(design-mode)

set(CMAKE_CXX_STANDARD 17)


##set(OpenCV_DIR "D:/dev-software/opencv/mingw-build")
#set(OpenCV_DIR "D:/dev-software/OpenCV-MinGW-Build-OpenCV-3.4.8-x64/x64/mingw/bin")
#find_package(OpenCV REQUIRED)
#include_directories(${OpenCV_INCLUDE_DIRS})
#link_directories(${OpenCV_LIBRARY_DIRS})

##OpenCV
## 设置OpenCV_DIR变量，指向OpenCV构建目录下的bin文件夹路径，
##set(OpenCV_DIR "D:/Program/opencv/mingw-build/bin")
#set(OpenCV_DIR "D:/dev-software/OpenCV-MinGW-Build-OpenCV-3.4.8-x64/x64/mingw/bin")
## 尝试查找系统中安装的OpenCV库。REQUIRED选项表示如果找不到OpenCV，则停止配置过程并抛出错误。
#find_package(OpenCV REQUIRED)
## 将OpenCV的头文件目录添加到当前项目的编译指令中，使得源代码可以包含OpenCV的头文件。
#include_directories(${OpenCV_INCLUDE_DIRS})
## 添加链接器搜索路径，即OpenCV库文件所在的目录。
#link_directories(${OpenCV_LIBRARY_DIRS})



add_executable(design-mode main.cpp
)
